package com.example.su_shi_tan_mine.child.provider

import com.example.su_shi_tan_bas_lib.adapter.JssBaseViewHolder
import com.example.su_shi_tan_bas_lib.adapter.multi22.Basic.JssBaseItemProvider
import com.example.su_shi_tan_core.db.UserInfoBeanHolder
import com.example.su_shi_tan_mine.R
import com.example.su_shi_tan_mine.child.bean.ServiceCustomerListBean

class ServiceCustomerListReceiverProvider : JssBaseItemProvider<ServiceCustomerListBean?, JssBaseViewHolder>() {

    override val itemViewType: Int=ServiceCustomerListBean.receiver

    override val layoutId: Int= R.layout.service_customer_list_receiver_provider


    override fun convert(helper: JssBaseViewHolder?, item: ServiceCustomerListBean?) {

        helper?.setText(R.id.receiverTv,item?.content)
            ?.setText(R.id.timeTv,item?.add_time)
            ?.setImageResource(R.id.receiverAvatar,R.mipmap.app_icon)


    }
}